<?php

// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议  https://mit-license.org 
// +----------------------------------------------------------------------
// | github开源项目：https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------

namespace app\admin\model;


use app\common\model\TimeModel;

class UserArea extends TimeModel {
    protected $append =['status_text'];
    public function getStatusTextAttr($value,$data)
    {
        $status=['0' => '不是默认收货地址', '1' => '默认收货地址'];
        return $status[$data['status']];
    }
}